package sanrenxing.dayEnd.backRepertoryTotal.service;

import sanrenxing.dayEnd.backRepertoryTotal.domain.SettingOfSecurities;

import java.util.List;

/**
 * 功能：业务层接口类
 * 编写者：蒋玲苹
 * 日期：
 * 版本：1.0
 */
public interface SettingOfSecuritiesBiz {
    /**
     * 添加数据
     * @param settingOfSecurities
     * @return 0:添加失败,1:添加成功
     */
    public int add(SettingOfSecurities settingOfSecurities);

    /**
     * 删除数据
     * @param stockIds
     * @return 删除影响的行数(0:删除失败,1:删除成功)
     */
    public int delete(String stockIds);

    /**
     * 修改数据
     * @param settingOfSecurities
     * @return 0:修改失败,1:修改成功
     */
     public int update(SettingOfSecurities settingOfSecurities);

    /**
     * 查询所有数据
     * @param
     * @return
     */
    public List<SettingOfSecurities> queryAll(SettingOfSecurities settingOfSecurities, int row, int page);
    /**
     * 统计记录数
     * @param
     * @return 记录行数据
     */
    public int count(SettingOfSecurities settingOfSecurities);
}
